export const clearObject = (object:{[key:string]:unknown})=>{
  let result = {...object}
  Object.keys(result).forEach( key => {
    let value = result[key];
    let a = (value === 0 ? !!value :value);
    if(!a){
      delete result[key]
    }
  });
  return result
}